.TH E1432_SET_TACH_DECIMATE 3 E1432
.SH NAME
.nf
e1432_set_tach_decimate \- Set tach decimation count
e1432_get_tach_decimate \- Get tach decimation count
.fi
.IX e1432_set_tach_decimate(3) 3
.IX e1432_get_tach_decimate(3) 3
.SH SYNOPSIS
.cS
SHORTSIZ16 e1432_set_tach_decimate(E1432ID hw, SHORTSIZ16 ID,
                                   LONGSIZ32 tach_decimate)
SHORTSIZ16 e1432_get_tach_decimate(E1432ID hw, SHORTSIZ16 ID,
                                   LONGSIZ32 *tach_decimate)
.cE
.SH DESCRIPTION

\fIe1432_set_tach_decimate\fR sets the tach decimation count, of a
single channel or group of channels \fIID\fR, to the value given in
\fItach_decimate\fR.

\fIe1432_get_tach_decimate\fR returns the current value of the tach
decimation count, of a single channel or group of channels \fIID\fR,
into a memory location pointed to by \fItach_decimate\fR.

\fIhw\fR must be the result of a successful call to
\fIe1432_assign_channel_numbers\fR, and specifies the group of
hardware to talk to.

\fIID\fR is either the ID of a group of channels that was obtained
with a call to \fIe1432_create_channel_group\fR, or the ID of a single
channel.

\fItach_decimate\fR is the tach decimation count.  This is the number
of tach edges to \fBskip\fR between each tach edge that is kept.  A
value of zero means to use every tach edge (and is the default).

For input channels and source channels, this parameter is not used.
.SH "RESET VALUE"
After a reset, the \fItach_decimate\fR is set to 0.
.SH "RETURN VALUE"
Return 0 if successful, a (negative) error number otherwise.
.SH "SEE ALSO"
.na
e1432_get_tach_decimate_limits
.ad
